package com.wuliu.system.domain.dto.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author realue
 * @version 1.0
 * @date 2023-11-23 17:03
 */
@Data
@ApiModel(description = "新增问题件请求类")
public class TspProblemDto {
    @NotBlank(message = "运单id不能为空")
    @ApiModelProperty(value = "运单id")
    private String orderId;
    @NotBlank(message = "运单号不能为空")
    @ApiModelProperty(value = "运单号")
    private String orderNo;
    @NotBlank(message = "问题类型不能为空")
    @ApiModelProperty(value = "问题类型")
    private String problemType;
    @NotBlank(message = "问题原因不能为空")
    @ApiModelProperty(value = "问题原因")
    private String problemReason;
    @NotBlank(message = "通知站点编号不能为空")
    @ApiModelProperty(value = "通知站点编号")
    private String respDeptNo;
    @NotBlank(message = "通知站点名称不能为空")
    @ApiModelProperty(value = "通知站点名称")
    private String respDeptName;
    @NotBlank(message = "图片地址不能为空")
    @ApiModelProperty(value = "图片地址")
    private String imageUrl;
}
